<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浮动2</title>
</head>
<body>
    <style>
        .container {
            width: 500px;
        }

        .ele {

            color: rgb(252, 156, 255);
            width: 50px;
            border-radius: 50%;
            line-height: 50px;
            height: 50px;
            display: inline-block;
            text-align: center;
        }

        .float {
            float: left;
            shape-outside:  circle(50%);
        }

        .front {
            background-color: rgb(74, 152, 255);
            border: 1px solid rgb(16, 82, 152);
            position: relative;

        }

        .back {
            background-color:rgb(255, 237, 137);
            border: 1px solid rgb(136, 198, 234);
            position: relative;
        }

        .con {
            text-align: center;
            width: 50%;
            margin: auto;
            margin: 300px;
        }
        a:first-child {
            float: left;
        }
        a:last-child {
            float: right;
        }
    </style>
</head>
<body>
    <div class="container">

        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <span class="front ele">前</span>
        <div>
            <img class="float" src="../img/星星.png">
        </div>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
        <span class="back ele">后</span>
    </div>

    <div class="con">
        <a href="">上一章</a>
        西游记
        <a href="">下一章</a>
    </div>
</body>
</html>